package com.ithehema;

import java.util.Scanner;

public class StringDemo04 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.next();
        fun(str);
   }
    public static void fun(String str) {
        int count1=0;
        int count2=0;
        int count3=0;
        for (int i = 0; i < str.length(); i++) {
            char ch = str.charAt(i);
            if(ch>='a'&&ch<='z'){
               count1++;
            } else if(ch>='A'&&ch<='Z'){
                count2++;
            }else if(ch>='0'&&ch<='9'){
                count3++;
            }
        }
        System.out.println("小写字符"+count1+"大写字符"+count2+"数字字符"+count3);
    }
}
